#include "viewsplit.h"
#include "viewarea.h"
using namespace stitch;

ViewSplit::ViewSplit(const QVector<QSharedPointer<ViewWorkspace>> &p_allWorkspaces,
                     const QSharedPointer<ViewWorkspace> &p_workspace,
                     ID p_id,
                     QWidget *p_parent)
    : QTabWidget(p_parent),
    m_id(p_id),
    m_allWorkspaces(p_allWorkspaces)
{


}

ViewSplit::~ViewSplit()
{
    Q_ASSERT(!m_workspace);
}
